home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / os2 / cenv2_19.arj / IDLEPROG.CMD < prev    next >
OS/2 REXX Batch file  |  1994-03-08  |  533b  |  15 lines

  1. @echo off
  2. REM ************************************************
  3. REM *** IdleProg - Execute any program, but give ***
  4. REM *** ver.1      it background priority        ***
  5. REM ************************************************
  6.  
  7. IF NOT "%1"=="" GOTO RUN_IDLE
  8. ECHO IdleProg - Execute any command at background priority
  9. ECHO EXAMPLE: IdleProg OS2TIME
  10.  
  11. :RUN_IDLE
  12. REM    236 ==  ORD_DOS32SETPRIORITY
  13. REM    1 == PRTYC_IDLETIME
  14. CEnvi DynamicLink("doscalls",236,BIT32,CDECL,0,1,0,0); spawn(P_NOWAIT,`%1 %2 %3 %4 %5 %6 %7 %8 %9`);
  15.